﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Data;
using Solution.Business.Entities;

namespace Solution.Business.Component
{
    public class DirectionComponent
    {
        private static DirectionDAC db = new DirectionDAC();

        public static List<Direction> Direction_GetByTop(string Top, string Where, string Ord)
        {
            return db.Direction_GetByTop(Top, Where, Ord);
        }

        public static void Direction_Insert(Direction direction)
        {
            db.Direction_Insert(direction);
        }

        public static void Direction_Update(Direction direction)
        {
            db.Direction_Update(direction);
        }
    }
}
